FediScanner

#git

← Back

I’m still having the issue where, every time I cloned this with the command line, because I plan to make significant contributions to their documentation, the entire directory will not clone onto my machine. everything is missing except for one folder. Can anyone work out how this is happening and what I can do to remedy it? github.com/buttondown/docs #Git #GitHub #CLI #CommandLine @buttondown

Show Original PostReport

## Git add everything except whitespace changes

In short, you can use this command:

> git diff -w | git apply --cached --ignore-whitespace

You can also add a alias like this

> git config --global alias.smartadd '!f() { git diff -w | git apply --cached --ignore-whitespace; }; f'

so, you can simply use 'git smartadd'

[Reference](medium.com/therobinkim/git-add)

Show Original PostReport

This #git commit fixes a typo,
this commit bumps a version number,
this commit fixes a dependency version conflict,
this commit reruns flaky tests,
and this commit makes no functional change, but cases the CI pipeline to go wee-wee-wee all the way home

#programming #DevOps

Show Original PostReport

Want to add a "pre-commit" hook to #Git repositories to re-format & check syntax (Perl, Python, sh).

A search found lots of results (same in multiplicates sometimes) using Python-centric "pre-commit-hooks" github.com/pre-commit/pre-comm ; got curious enough to read about it. Damn thing does (or, can do) far too much by itself!

So, will see how the solution in stackoverflow.com/questions/31 or other artisanally crafted masterpiece would go ...

#softwareDevelopment

Show Original PostReport

Need #help

I installed #forgejo on a #jail. This jail was a centralized #git server.

I cannot find how to import local (in the jail) repos to forgejo.

If I try a migration from #git and give the repository path in the URL field the answer is:
Your not allowed to import local repository.

SO there must by a parameter to allow this kind of import.

I can't figure which one.

Can't your help me please?

Boost are welcome.

Show Original PostReport