Hot answers tagged

4 votes

how to delete branch with vscode

Go to View --> select Command Platted option --> select Delete Branch --> and select the local branch which we have to delete
user37582's user avatar
3 votes

Should I turn off copilot for text files containing secrets?

Cutting off copilot for files that contain secrets is a good idea. The risk that github gets hacked may be small, but it is still a risk that can be easily avoided so why take a chance? Keep in mind ...
chicks's user avatar
  • 1,838
1 vote

how to delete branch with vscode

Menu - View - SCM, choose the project then, More actions - Branch - Delete Branch. If branch is deleted on github, on vscode, More actions - Pull,Push-Sync, otherwise vscode still is on old cache.
hakkican's user avatar
  • 231
1 vote

how can I commit and push only the files what I need while using vscode?

@hakkican maybe this could help git checkout branch_name path_file/path_folder then commit the changes. or check this link for more explanation https://stackoverflow.com/questions/449541/how-can-i-...
Iyus Dedi Putra's user avatar
1 vote

how can I commit and push only the files what I need while using vscode?

Before you change to main, you need to run: git stash push in vscode - first you access the ... menu at the top of the source control window, then select stash->stash. According to the docs, this ...
Taterhead's user avatar
  • 158

Only top scored, non community-wiki answers of a minimum length are eligible