https://github.com/devhindo/linux
https://github.com/devhindo/linux
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devhindo/linux
- Owner: devhindo
- License: mit
- Created: 2023-06-22T10:22:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T07:55:49.000Z (over 2 years ago)
- Last Synced: 2025-05-22T01:11:36.331Z (10 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linux
- [How To Work With Multiple Github Accounts on a single Machine](https://gist.github.com/rahularity/86da20fe3858e6b311de068201d279e3)
when getting a new repo:
```bash
$ git config user.email ""
$ git config user.name ""
$ git remote add origin `git@github.com-{my_username}:{owner-user-name}/{the-repo-name}.git`
#for cloning
$ git clone git@github.com-{your-username}:{owner-user-name}/{the-repo-name}.git
```
- if `$ ssh-add -K ~/.ssh/id_rsa ` didn't work : [solution](https://stackoverflow.com/a/66350907).
- make all commands run as sudo : [solution](https://askubuntu.com/a/192050)
- ```bash
sudo -i
```