Contribute
- Create a fork on GitHub
- Clone your fork to your machine
For ssh:
For https:
-
- This means you can push/pull as normal to your own repo, but also easily track & update from the NvChad repo
For ssh:
$ git remote add upstream git@github.com:NvChad/NvChad.git
For https:
$ git remote add upstream https://github.com/NvChad/NvChad.git
Any time you create a branch to do some work, use
-
- This means that there are no
Merge NvChad/main into devBranch
commits, which are to be avoided
$ git pull upstream --rebase
- This means that there are no
When making a PR (pull request), please be very descriptive about what you’ve done!
PR’s are always welcomed however NvChad aims to be less bloated. So PR’s regarding existing plugin’s enhancement and creating new features with existing plugins itself (without adding a new plugin), bug fixes and corrections are more encouraged.
NvChad won’t keep adding more and more features (like adding new plugins) as requested if they feel unneeded and aren’t usable by the majority!! If you think the plugin you want to be added is very useful and many NvChaders would find it useful, then such feature’s PR is welcomed!
But adding specific features like adding config for wakatime etc will be added in this . This lets the user select the things only they want (adding configs from extra configs).
- Check the stylua config
Run the following:
$ git rebase -i HEAD~<NUMBER OF COMMITS TO GO BACK>
Example
$ git rebase -i HEAD~4
Change the
pick
commands to whatever you wish, you may wish tod
drop
ore
edit
a commit. Then save & quit this git file to run it.Example
pick 28b2dcb statusline add lsp status
pick dad9a39 feat: Added lsp radial progress
d b281b53 avoid using q! for quitting vim
# Rebase 52b655b..b281b53 onto 52b655b (4 commands)
#
# Commands:
# p, pick <commit> = use commit
# r, reword <commit> = use commit, but edit the commit message
# e, edit <commit> = use commit, but stop for amending
# s, squash <commit> = use commit, but meld into previous commit
# x, exec <command> = run command (the rest of the line) using shell
# b, break = stop here (continue rebase later with 'git rebase --continue')
# d, drop <commit> = remove commit
# l, label <label> = label current HEAD with a name
# t, reset <label> = reset HEAD to a label
# . create a merge commit using the original merge commit's
# . message (or the oneline, if no original merge commit was
# . specified). Use -c <commit> to reword the commit message.
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out
If you picked
drop
you are done, if you pickededit
then edit your files, then run:$ git add <files>
Once you have edited & added your files, run: