Git
The simplest Git workflow
Init --> Add --> Commit --> Push
- Create a local repo
- Add all files from your current directory to Git
- Commit those files/changes
- Push those changes to the repo
git init .
git add .
git commit -m "New Files Added"
git push
Clone Remote Repository
git clone https://github.com/ntop/nDPI.git
Clone a Specific Branch from Remote Repository
NOTE: Still fetches all the branches but marks the one you specify as active.
git clone --branch 4.2-stable https://github.com/ntop/nDPI.git
Clone a Specific Branch and Only that Branch from a Remote Repo
git clone -b 4.2-stable --single-branch https://github.com/ntop/nDPI.git