Skip to content

Instantly share code, notes, and snippets.

View MasterLaplace's full-sized avatar
🚚
en direction vers un autre monde

Master_Laplace MasterLaplace

🚚
en direction vers un autre monde
View GitHub Profile
@MasterLaplace
MasterLaplace / TUTO_VSCODE_01.md
Created January 5, 2024 13:37
Export vscode extension list

On unix systeme:

  • code --list-extensions | xargs -L 1 echo code --install-extension

On windows systeme:

  • code --list-extensions | % { "code --install-extension $_" }

My current extension

code --install-extension aaron-bond.better-comments
code --install-extension alefragnani.project-manager
@MasterLaplace
MasterLaplace / TUTO_GITHUB_01.md
Last active January 19, 2024 10:32
Copy from private to public repository
  • Create a new empty public repository on Github, GitLab, Bitbucket, ect.
  • Goto your private repository cd <private_repo>
  • Add the public repository as a new remote git remote add public git@github.com:author/public_repo.git
  • Verify the new remote git remote -v

output:

origin  git@github.com:private_author/private_repo.git (fetch)
origin  git@github.com:private_author/private_repo.git (push)
public git@github.com:author/public_repo.git (fetch)