forked from ninjapanzer/git_to_the_future_sample
-
Notifications
You must be signed in to change notification settings - Fork 5
/
second_file.txt
47 lines (24 loc) · 954 Bytes
/
second_file.txt
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
Push sending to something
Pull pulling from something
Local my computer
staging
commits are changes that are made
add changes
git add <file or directory>
gid add . (I want the current directory)
git commit -m "added awesome feature that saved mankind"
< 80 characters, make the past tense
master is your original copy
git checkout -b <branch name>
think of using rrm/new_directory meaning my initials rrm/feature_branch
call the directory what the feature is to do
rrm/money_market_accounts
a branch is a series of changes, is actually creating a folder on your computer
go to https://try.gihub.io
never check out a new branch on a brand new repo
git reset --hard HEAD (reset to original - very destructive, use with care)
git GUI (Paul likes this)
Pull request. Used to submit code t
git reset file (unstage a file, do not use a branch name)
reset is a very destructive command
using -- instructs git to never use a branch