Git - markhowellsmead/helpers GitHub Wiki

Clone a repository into a specific folder

cd /targetfolder
git clone https://github.com/mhmli/helpers.git specialfoldernameforhelpers

Check current status of local repo

git status

Which changes are unstaged?

git diff --name-only

Stage all changed and added files

git add .

Commit staged files

git commit -m "These things were changed"

Add a tag

git tag 1.0.1

Push commit to remote

git push

Push tag to remote

git push origin 1.0.1

Ignore file mode changes

git config core.fileMode false