Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 719 Bytes

git.md

File metadata and controls

31 lines (25 loc) · 719 Bytes

Ref?

Gist

Setup (~/.gitconfig)

git config --global user.name "Eu" git config --global user.email "[email protected]" git config --global core.editos "vim"

Fluxo

Working Dir --(git add)-> Index --(git commit)-> Head

Log

git log --oneline --author="<pessoa>"

Updating Local

git fetch - Update local metadata, don't pull data. CAN SYNC REMOTE REPOSITORY AFTER CREATION git push origin --delete <branch> - delete branch on remote git pull - Retrieve changes from remote repository

Remote origin

git push origin --delete <branch>

Glossary

Untracked files Working Area Stagin Area Local Repo Remote/Upstream Repo