Project

General

Profile

Git » History » Version 1

Peter Qian, 01/04/2021 09:19 AM

1 1 Peter Qian
h1. Git
2
3
mv dicompyler/ bak_dicompyler
4
ashley@Lion:~/repos/github$ cd bak_dicompyler/
5
6
7
git remote -v
8
origin	git@github.com:didymo/dicompyler.git (fetch)
9
origin	git@github.com:didymo/dicompyler.git (push)
10
11
ashley@Lion:~/repos/github/bak_dicompyler$ cd ../
12
ashley@Lion:~/repos/github$ git clone git@github.com:didymo/dicompyler.git
13
14
ashley@Lion:~/repos/github$ cd dicompyler/
15
ashley@Lion:~/repos/github/dicompyler$ git remote -v
16
origin	git@github.com:didymo/dicompyler.git (fetch)
17
origin	git@github.com:didymo/dicompyler.git (push)
18
19
ashley@Lion:~/repos/github/dicompyler$ git branch -a
20
* master
21
  remotes/origin/HEAD -> origin/master
22
  remotes/origin/Onko
23
  remotes/origin/augustinworkspace
24
  remotes/origin/dependencyupdate
25
  remotes/origin/helena_ibro
26
  remotes/origin/helene_workspace
27
  remotes/origin/master
28
  remotes/origin/sohaib_workspace
29
  remotes/origin/windowsfixes
30
31
32
33
ashley@Lion:~/repos/github/dicompyler$ git checkout Onko 
34
Branch 'Onko' set up to track remote branch 'Onko' from 'origin'.
35
Switched to a new branch 'Onko'
36
ashley@Lion:~/repos/github/dicompyler$ git branch -a
37
* Onko
38
  master
39
  remotes/origin/HEAD -> origin/master
40
  remotes/origin/Onko
41
  remotes/origin/augustinworkspace
42
  remotes/origin/dependencyupdate
43
  remotes/origin/helena_ibro
44
  remotes/origin/helene_workspace
45
  remotes/origin/master
46
  remotes/origin/sohaib_workspace
47
  remotes/origin/windowsfixes