forked from 0xfe/experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
75 lines (49 loc) · 1.46 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Experiment Repository
---------------------
Experiments, tests, random babble. Mostly a collection of "Hello World"
examples for various languages.
This directory is served off 0xfe.muthanna.com.
------------------------------------
To clone this repository (Read/Write):
$ git clone git@github.com:0xfe/experiments.git
To clone this repository (Read-Only HTTP):
$ git clone http://github.com/0xfe/experiments.git
------------------------------------
$ git config --global user.name "Your Name Comes Here"
$ git config --global user.email you@yourdomain.example.com
$ git config --global color.diff auto
$ git config --global color.status auto
$ git config --global color.branch auto
------------------------------------
Repository administration:
To bring the local working directory in sync with HEAD:
$ git reset --hard HEAD
-------------------------------------
Ignore list in .gitignore (in project root). Contents:
# Lines starting with '#' are considered comments.
# Ignore any file named foo.txt.
foo.txt
# Ignore (generated) html files,
*.html
# except foo.html which is maintained by hand.
!foo.html
# Ignore objects and archives.
*.[oa]
ruby_sess.*
.*.swp
.hi
*.pyc
------------------------------------
Workflow:
$ git branch newthingaby
$ git branch
newthingaby
* master
$ git checkout newthingaby
... do stuff ...
$ git commit -a
$ git checkout master
$ git merge newthingaby
(If conflicts, fix them, then submit.)
$ git branch -d newthingaby
$ git push