git repack
git init
git add .
git status
git commit -m "First commit"
git remote add origin git@github.com:xxxxxx/xxxxxxx.git
git remote -v
git push -u origin master
cat ~/.ssh/authorized_keys
cat ~/.ssh/known_hosts
git remote update
git fetch
Downloads the latest from remote without trying to merge or rebase anything.
git fetch -- all
git clean -f -d
git reset --hard origin/master
-- force discard local changes
git reset --hard origin/<davidBranch_name>
-- force discard local changes
git checkout -f <localfile>
-- force discard local changes
git commit -m ‘My commit David Raleche’
git commit --amend
git reset HEAD -file-
git push origin <davidBranch>
git diff --name-only --diff-filter=U
GIT ADD
git add <file>
git commit -m “message of your commit”
git push origin
git reset <file>
git reset
git reset --soft HEAD~1
git reset --hard HEAD^
(VERY DANGEROUS)
git checkout --track origin/ECOM-307
git diff –name-only –diff-filter=U
git log –graph
git log –oneline