-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguide.blade.php
More file actions
43 lines (32 loc) · 804 Bytes
/
Copy pathguide.blade.php
File metadata and controls
43 lines (32 loc) · 804 Bytes
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
{{-- git config --}}
git config --global user.name "larigyn"
git config --global user.email androidagay@gmail.com
{{-- git list --}}
git config --list
{{-- git initialized --}}
git init
{{-- git status --}}
git status
git add (filename)
git add . (all files)
{{-- git push --}}
git remote add origin https://github.com/larigyn/laratrust.git
git push -u origin master
{{-- if changes occur --}}
git add .
git commit -m "changes added"
git push
{{-- ssh key--}}
ssh-keygen -t rsa -b 4096 -C "androidagay@gmail.com"
(enter)
(password)
(password)
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
(password)
Goto your account
(clip < ~/.ssh/id_rsa.pub) {{-- for windows only --}}
{{-- pushing another repo --}}
git remote -v {{-- check first --}}
git remote rm origin
git remote add origin (your repo)