add gitignore
This commit is contained in:
1 parent
0d1ff65479
commit
f2c44dbc0d
8 files changed
+839
-77
No files matched your search
@@ -12,11 +12,21 @@ A GitHub Desktop-style git client that runs in your terminal. Use the mouse or t
|
||||
|
||||
This makes a single file that runs without Python or Textual installed.
|
||||
|
||||
- **Windows:** double-click `build.bat`. You get `dist\gitdesk.exe`.
|
||||
- **Windows:** double-click `build.bat`. In PowerShell type `.\build.bat`; PowerShell won't
|
||||
run it without the `.\`. You get `dist\gitdesk.exe`.
|
||||
- **Linux / macOS:** run `./build.sh`. You get `dist/gitdesk`.
|
||||
|
||||
`build.py` does the work, and the .bat/.sh just start it. It:
|
||||
- sets up its own environment in `.build`;
|
||||
- installs PyInstaller and Textual;
|
||||
- builds the exe;
|
||||
- test-starts the new exe to make sure it works;
|
||||
- logs everything to `build.log`.
|
||||
|
||||
If something goes wrong it says why in plain English (old exe still open, antivirus,
|
||||
OneDrive, no internet...). Send `build.log` over if the reason isn't clear.
|
||||
|
||||
Build on the system you want to run it on: a Windows exe has to be built on Windows.
|
||||
The scripts use their own `.build-venv` folder and don't touch your Python install.
|
||||
The exe takes a second or two to start because it unpacks itself first.
|
||||
|
||||
## Run
|
||||
@@ -61,6 +71,16 @@ Tip: put this folder on your PATH (Windows), or symlink it on Linux/macOS
|
||||
Discard keeps a backup in Stashed changes, so it can be undone. More → Discard
|
||||
ticked changes does several files at once. Below the list are Stash all / Stashed, and
|
||||
the commit summary + description.
|
||||
- **Right-click a changed file** (or press `m` / Shift+F10) for the same menu as GitHub Desktop:
|
||||
- **Discard changes…**
|
||||
- **Ignore file**, **Ignore folder ▸** (pick which parent folder), or **Ignore all .ext files**.
|
||||
Each one adds a line to the repo's `.gitignore`.
|
||||
- **Copy file path / relative path**
|
||||
- **Show in Explorer**, **Open in VS Code**, **Open with default program**
|
||||
|
||||
Ignoring a file git already tracks doesn't hide its changes, so if the new rule covers tracked
|
||||
files, gitdesk offers **Stop tracking**. The files stay on your disk and leave the repository
|
||||
in your next commit.
|
||||
- **History tab:** recent commits (↑ = not pushed yet). Click one to see what changed,
|
||||
or **View on GitHub** to open that commit's page.
|
||||
- **View on GitHub** (`g`, More menu, or the card on the "No local changes" screen) opens
|
||||
@@ -94,4 +114,4 @@ Tip: put this folder on your PATH (Windows), or symlink it on Linux/macOS
|
||||
behind by a crashed git, it offers **Remove lock file & retry**.
|
||||
|
||||
Keys: `f` fetch · `p` pull · `u` push · `b` branch · `s` stash · `t` stashes · `d` discard ·
|
||||
`o` add local repo · `n` new repo · `c` clone · `g` view on web · `l` log · `r` refresh · `space` tick/untick file · `q` quit
|
||||
`o` add local repo · `n` new repo · `c` clone · `g` view on web · `l` log · `r` refresh · `space` tick/untick file · `m` file menu · `q` quit
|
||||
Reference in new issue
Block a user