-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitinfo
More file actions
54 lines (43 loc) · 1.26 KB
/
Copy path.gitinfo
File metadata and controls
54 lines (43 loc) · 1.26 KB
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
52
53
54
Git Installer for Windows
================================
Git-Gui Shawn Pearce et al
After installing git
================================
git config --global user.name 'some user name'
git config --global user.email 'useremail@associatedWithGithublogin.com'
git config --global color.ui 'auto'
Download entire remote project:
================================
change to directory parent of where project is to lie
git clone https://github.com/cobinrox/archie
Create new repo
================================
create new remote repo on github, but disclude readme.md
create new local repo on local box
git init
Commit new files/dirs:
================================
git add --all
git commit -am "add more files"
git push
Commit all modified files:
================================
git commit -am "add n modified"
git push
Download new files:
================================
git pull
Check status wrt remote repo:
================================
git fetch [origin]
git status
-- or --
git remote update
git status
Undo local changes to a file
================================
get checkout theFile
(checks out the file from local repo)
Zip project files, exclusing .git directory
===========================================
git archive --format zip --output filename.zip master