Update README.md
This commit is contained in:
parent
d5c4065b82
commit
3593acffe1
13
README.md
13
README.md
|
|
@ -3,6 +3,19 @@
|
|||
This repository contains general standard modules for all projects.
|
||||
|
||||
## Cloning and Pulling Branches
|
||||
### You have to Options to configure you git client
|
||||
1. Using SSH keys :
|
||||
See this link --> https://www.youtube.com/watch?v=EoLrCX1VVog
|
||||
3. Using token
|
||||
|
||||
```sh
|
||||
echo "$GH_TOKEN" > ~/git-askpass.sh
|
||||
chmod +x ~/git-askpass.sh
|
||||
export GIT_ASKPASS=~/git-askpass.sh
|
||||
git config --global core.askPass ~/git-askpass.sh
|
||||
git config --global user.name 'github-actions'
|
||||
git config --global user.email 'github-actions@github.com'
|
||||
```
|
||||
|
||||
### Clone the Repository
|
||||
Clone the master branch, use the following command:
|
||||
|
|
|
|||
Loading…
Reference in New Issue