Last active
November 17, 2022 22:31
-
-
Save matrix-morpheus/b2811e24c4e6c77946d5c68af4fe76f3 to your computer and use it in GitHub Desktop.
Revisions
-
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/ https://stackoverflow.com/questions/1298499/git-push-not-send-changes-to-remote-git-repository https://www.earthdatascience.org/workshops/intro-version-control-git/basic-git-commands/ ## commands $ ssh-keygen -t ed25519 -C "virtualbox-qt" -
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,8 @@ https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/ https://stackoverflow.com/questions/1298499/git-push-not-send-changes-to-remote-git-repository https://rscircus.github.io/2020/02/21/latex-and-jekyll.html ## commands $ ssh-keygen -t ed25519 -C "virtualbox-qt" -
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 14 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,8 @@ https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/ https://stackoverflow.com/questions/1298499/git-push-not-send-changes-to-remote-git-repository ## commands $ ssh-keygen -t ed25519 -C "virtualbox-qt" @@ -30,8 +32,18 @@ change the url to accept ssh push should be of the following format: url = [email protected]:matrix-morpheus/jekyll-theme-chirpy.git save # to commit changes $ git add . $ git commit -m "updates done by..." $ git push should push without errors -
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,6 +19,8 @@ $ cat ~/.ssh/id_ed25519.pub copy the output add the key to your github profile Go to the repo directory $ vim .git/config -
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,6 +29,7 @@ change the url to accept ssh push should be of the following format: url = [email protected]:matrix-morpheus/jekyll-theme-chirpy.git save and then run $ git push should complete without errors -
matrix-morpheus revised this gist
Nov 17, 2022 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,28 +7,28 @@ https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/ ## commands $ ssh-keygen -t ed25519 -C "virtualbox-qt" give no passphrase $ eval "$(ssh-agent -s)" $ ssh-add ~/.ssh/id_ed25519 $ cat ~/.ssh/id_ed25519.pub copy the output Go to the repo directory $ vim .git/config change the url to accept ssh push should be of the following format: [remote "origin"] url = [email protected]:matrix-morpheus/jekyll-theme-chirpy.git save and then run $ git push should complete without errors -
matrix-morpheus created this gist
Nov 17, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ # Howto setup git in ubuntu command line https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/ ## commands ssh-keygen -t ed25519 -C "virtualbox-qt" give no passphrase eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519 cat ~/.ssh/id_ed25519.pub copy the output Go to the repo directory vim .git/config change the url to accept ssh push should be of the following format: [remote "origin"] url = [email protected]:matrix-morpheus/jekyll-theme-chirpy.git save and then run git push should complete without errors