Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cheat-sheet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VIHARI PIRATLA
cheat-sheet
Commits
b7b368b1
You need to sign in or sign up before continuing.
Commit
b7b368b1
authored
Mar 21, 2017
by
VIHARI PIRATLA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cheat-sheet.md
parent
0f01190f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cheat-sheet.md
cheat-sheet.md
+4
-2
No files found.
cheat-sheet.md
View file @
b7b368b1
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
To avoid entering username and password everytime you pull/push to a git repository, there are two known ways.
To avoid entering username and password everytime you pull/push to a git repository, there are two known ways.
*
Add your SSH public key to the remote end (this is possible with either github, gitlab or a private remote server)
*
Add your SSH public key to the remote end (this is possible with either github, gitlab or a private remote server)
*
Setup your
`~/.gitconfig`
like:
*
Setup your
`~/.gitconfig`
like:
```
```
bash
# This is Git's per-user configuration file.
# This is Git's per-user configuration file.
[
user]
[
user]
name
=
vihari
name
=
vihari
...
@@ -11,6 +12,7 @@ To avoid entering username and password everytime you pull/push to a git reposit
...
@@ -11,6 +12,7 @@ To avoid entering username and password everytime you pull/push to a git reposit
[
credential]
[
credential]
helper
=
osxkeychain
helper
=
osxkeychain
```
```
The
`osxkeychain`
works only on Mac and I use
`/usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring`
on Linux.
The
`osxkeychain`
works only on Mac and I use
`/usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring`
on Linux.
For more:
[
refer
](
http://blog.iqandreas.com/git/storing-https-authentication-in-ubuntu-and-arch-linux/
)
For more:
[
refer
](
http://blog.iqandreas.com/git/storing-https-authentication-in-ubuntu-and-arch-linux/
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment