-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (31 loc) · 1.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Project Name - Eivom
__________________________________________
If you want to update your local branch
$git pull origin {branch name you want to pull}
OR
If you want to pull from 'main' branch
$git pull
-------------------------------------------------------------------------------
clone repository:
$ git clone https://github.com/osu-cs290-sp21/final-project-team.git
-------------------------------------------------------------------------------
create your own branch:
`$ git checkout -b [name your branch here] main`
for example:
`$ git checkout -b final-project-myname main`
-------------------------------------------------------------------------------
commit changes:
`$ git commit -a -m [commit message here]`
for example:
`$ git commit -a -m "i changed the color to green!"`
-------------------------------------------------------------------------------
push to github
`$ git push --set-upstream origin [your branch name here]`
for example:
`$ git push --set-upstream origin final-project-myname`
-------------------------------------------------------------------------------
other useful git stuff
check what changes you've made or which branch you're on:
`$ git status`
initialize your repository:
`$ git init`