Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing files using Git GUI

Tags:

git

git-gui

Is there any way to remove a file using git gui then commit and push?

like image 894
Rodrigo Souza Avatar asked Jun 24 '10 10:06

Rodrigo Souza


People also ask

How do I remove files from git?

The git rm command can be used to remove individual files or a collection of files. The primary function of git rm is to remove tracked files from the Git index. Additionally, git rm can be used to remove files from both the staging index and the working directory.

How do I remove contents from a git repository?

Browse to the directory in your repository that you want to delete. In the top-right corner, click , then click Delete directory. Review the files you will delete. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.


1 Answers

Not directly, since git gui is more about:

allowing users to make changes to their repository by making new commits, amending existing ones, creating branches, performing local merges, and fetching/pushing to remote repositories

An extension like TortoiseGit would allow a git rm to be performed graphically.

like image 121
VonC Avatar answered Oct 13 '22 21:10

VonC