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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vihari
cheat-sheet
Commits
b7b368b1
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 @@
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)
*
Setup your
`~/.gitconfig`
like:
```
```
bash
# This is Git's per-user configuration file.
[
user]
name
=
vihari
...
...
@@ -11,6 +12,7 @@ To avoid entering username and password everytime you pull/push to a git reposit
[
credential]
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.
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