Browse Source

Updated with some description of basic commands

Federico Bonelli 2 years ago
parent
commit
48c1ab9db1
1 changed files with 26 additions and 0 deletions
  1. 26
    0
      instructions.md

+ 26
- 0
instructions.md View File

@@ -17,3 +17,29 @@ so what is GIT?
17 17
 - so what is ledger-git.dyne.org then? Is a "view" on the git server, a web GUI, with some services on top, like a wiki, a editor for files, an access... is an alternative to gitlab or to github that runs on dyne's servers...
18 18
 - You can as well access the remote and the local git service with a local gui, like github client or any other platform specific GUI... but Terminal is going to be the same for everyone.
19 19
 
20
+
21
+How do I find the basic commands?
22
+for example follow these instructions: https://rogerdudler.github.io/git-guide/
23
+
24
+once you have installed git, you can open a terminal and type:
25
+```bash
26
+man git
27
+```
28
+and/or follow the instructions of the git-guide or google about it, or ask your naighbour...
29
+
30
+1. create a new directory, open it and perform a 
31
+```bash
32
+git init
33
+```
34
+to create a new git repository in that folder.
35
+
36
+then you might want to connect that repository to the public or private remote one.
37
+
38
+- When you want to register a change you ```commit``` it
39
+- When you want to have a repository copied to your local system you ```clone``` it
40
+- When you want to send your committed changes to the remote repository you ```push``` them, before pushing your changes you might want to ```pull``` the actual version... 
41
+- 
42
+
43
+
44
+
45
+