Comments (2)
Hi, thanks for the response!
often I prefer to plan my work in advance
You know how it is... debugger;
and print statements in all files :D
It certainly isn't a problem of poor planning or not using a gitignore (which I am), I probably should've been more specific.
I used to git add .
before that bit me a long time ago, ever since I've been git diff-ing my changes and stage them manually.
I don't think adding files not staged for a commit should be placed in the .gitignore (or temporary files for testing. I'd honestly forget about them and the file would grow a lot tbh), but each their own.
Who knows, I might fork it, speedrun learing ocaml and just implement that for myself. Love the looks of zbgđĽ
from zbg.
Thanks for your feedback!
As mentioned in the README, zbg
is not a git
replacement. I don't see what zbg add
can add to git add
(pun intended), so I don't see many benefits in having a separate command for this.
I do find myself occasionally in a need to add some files separately when I'm in the middle of a coding mess.
However, often I prefer to plan my work in advance. I also prefer investing in .gitignore
(or .git/info/exclude
if patching .gitignore
is not possible), so committing accidental rubbish is not a problem.
I have big committing all the local changes for years and I haven't experienced any problems with that, so I don't see the need to change zbg commit
at the moment.
from zbg.
Related Issues (20)
- Allow empty message in 'commit'
- Escape messages in 'zbg stash'
- Provide statically linked executables via GitHub Actions releases HOT 5
- New command 'zbg done'
- Use pure function instead of calling 'basename' HOT 3
- Escape the message argument in 'zbg commit'
- Autocomplete branches in 'zbg switch'
- Support both -f and --force flags HOT 2
- Implement the --dry-run flag
- New command: 'zbg clone' HOT 2
- Colour staged files in 'zbg status' HOT 2
- status can't print diff when different path than root HOT 4
- Idea: `zbg undo` HOT 2
- Write tests for 'zbg commit' HOT 2
- New Command: `zbg amend` HOT 3
- Not always default branch is "main" HOT 1
- Global `.gitignore` HOT 9
- Support OCaml 5.1.0
- Format the commit message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zbg.