Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Info:
- git remote show origin
- git remote -v
- git remote remove origin
- git remote add origin <URL>
- # Store passwords:
- git config credential.helper store
- # Commit
- git commit -m "Initial commit"
- git push
- # Revert local changes
- git checkout -p <optional filename(s)>
- # View branches:
- git branch -a
- git show-branch
- # https://docs.moodle.org/403/en/Git_for_Administrators
- # Moodle update:
- git branch -a
- git branch --track MOODLE_311_STABLE origin/MOODLE_311_STABLE
- git checkout MOODLE_311_STABLE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement