-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGitinstructions.txt
More file actions
44 lines (33 loc) 路 2.17 KB
/
Copy pathGitinstructions.txt
File metadata and controls
44 lines (33 loc) 路 2.17 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
Hi Guys,
I am writting instructions below to introduce u with git.馃槉
Note: Dot '.' in git command indicate to perform operation in current working directory/repository.
For Credentials and Account on Git and GitHub.
1. Create Account on Github and install Git on ur Pc
2. Open ur disire folder for this project.
3. Now open 'Git Bash' in it by right click and select git bash.
4. Write command->: git init {Press enter} {It will make folder as git environment}
5. Write command->: git config --global user.name "your name" {<-write ur name inside double quaotes}
6. Write command->: git config --global user.email "your email" {<-write ur email inside double quaotes}{write that email which u used for github}
For Downloading Respository:
1. Create Account on Github and install Git on ur Pc
2. Visit Link of Main Repository->: https://github.com/LovishChhura/MovieRecommendationSystem
3. Fork Main Repository. A copy of repository will be created with ur name on it馃憤
4. Open ur disire folder for this project.
5. Now open 'Git Bash' in it by right click and select git bash.
6. Write command->: git init {Press enter} {It will make folder as git environment}
7. Write command->: git pull <ur repository name>
8. Now Repository will get downloaded there.馃帀
For Commit:
1. Open Git Bash in that folder
2. Write command->: git init
3. Write command->: git add . {<-You have to put dot there}{it means add this directory to Staging area
4. Write command->: git commit -m "message u want to convey with git" {<- this whole was command message is written inside double quotes} {it will add to git respository of ur Pc}
Commit is like a picture of items in diectory at that time. We can revert to any instance of time like time machine.
For Uploading to GitHub:
1. After making commit only.
2. Write command->: git remote add origin <url of ur git respository> {<-Don't write <> backets}
3. Write command->: git push {it will upload to github}
Now Data is uploaded into ur GitHub respository. U have to make new 'pull request' to change in Main repository.
See this video-> https://www.youtube.com/watch?v=_NrSWLQsDL4
->Stay Updated with Main Repository.馃槣
I hope these will make you easy and comfortable馃挅