Commands to be used to commit and pull things to github - njcuk9999/apero-drs GitHub Wiki

Commands to be used to commit and pull things to github

Shortcuts for pycharm (MAC)

Push to current branch (locally) + K

Upload to server + SHIFT + K

Shortcuts for pycharm (LINUX)

Push to current branch (locally) Ctrl + K

Upload to server Ctrl + SHIFT + K

From command line

Add a new file (filename) to github

git add filename

Commit changes to local github

git commit -m "My commit message"

Upload commits to server (master branch)

git push origin master

Download commits (master branch)

git pull origin master

See which branch you are on

git branch

Change to branch "BRANCH"

git checkout BRANCHNAME

Other commands

Save your password (plain text!!!)

git config credential.helper store

Tag the most recent commit with a name

git tag 

Look at tags

git tag -l
⚠️ **GitHub.com Fallback** ⚠️