Skip to content

Latest commit

 

History

History
85 lines (58 loc) · 1.46 KB

File metadata and controls

85 lines (58 loc) · 1.46 KB

CS250-Assembly Language and Computer Organization

Links

Important Links

Hw 1 Combination and Permutation

Hw 2 Nameology of the Five Elements

Hw 3 Steiner trees

Some Github Commands

  • Remember to save and git add, git commit before doing further operations
  1. upload

    git add .
    git commit -m "your comments"
    git push
  2. download

    git checkout <branch>
    git fetch
    git merge
  3. new branch

    git checkout -b <branch>
  4. switch branch

    git checkout <branch>
  5. delete a local branch

    git branch -d <branch> # for merged branches
    git branch -D <branch> # force deleting
  6. delete a remote branch

    git push origin --delete <remote branch>
  7. merge branch

    git merge <branch to be merged>
  8. bring back deleted files

    git checkout <PREVIUS COMMIT> -- .
    git add .
    git commit -m "Restore all deleted files"