-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeveloper_Notes_and_Practices.nfo
More file actions
49 lines (35 loc) · 1.64 KB
/
Developer_Notes_and_Practices.nfo
File metadata and controls
49 lines (35 loc) · 1.64 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
# Developer Notes ##
To All Contributors,
Below is some quick notes on using git with the AIDE project.
### Common Git Commands #################################################################
-- Git Clone a new copy of the master repository (From a folder not containing an "AIDE" folder) --
`git clone git@github.com:Tpimp/AIDE.git`
-- Git Update/Sync with master --
`git pull git@github.com:Tpimp/AIDE.git`
-- Git Add Changes (All) --
`git add -A`
-- Git commit all w/ a message --
`git commit -am "Message Describing the Changes Made in this Commit"`
-- Git Push committed changes to master --
`git push git@github.com:Tpimp/AIDE.git`
-- Create new branch --
`git branch "new_branch_name"`
-- Switch To/Checkout Branch --
`git checkout "new_branch_name"`
-- merge Branch (current branch = source, referenced branch = destination) --
`git merge "master"`
#### Common Git practices #################################################################
-- Create a New Directory --
* navigate to the desired parent directory
* run clone command (See Git Common Commands)
-- Create a new feature (and branch technique. Do this for all newly created features!) --
* Run Sync command to update/sync your master branch
* create a new branch for the feature
* switch to the newly created branch
* Do <b><i>all preliminary building and work on new feature</i> (only work on new feature code here)<b>
* After testing the reliability of New Feature X, run merge command from new_feature branch on "master"
* switch to "master" branch
* run add all command
* run commit command and add a <b>
* run the push command
-More Developer Notes to come........