git-rules's People
Forkers
nsatin74 axonny alexmoshkov novoselovkirill schwj krauhinsemen maxferol cyber-frosty kirik988 udarenienao peefech kosovgrigorii viv99 egrex nitroline naneg alexuran christmasy anastasiiaprokopeva imosk72 nosteam1bazeev danilkaz sergeyliyasov dbugr1 glebbikmukhametov mima-dozh shiyois egregiouss hvv007 justaspace drapkinamaria sergeybirukov 1nn0kenty veh9 vladik74 mihey-melnikov theoilside oldglobula daryamikhalchuk jaycob24 grobokopatel polinariaa diquid loraan lessy2014 yulya-kom nastja0 creed228 someunknown mariashare veron-maker niripsakakvsegda rinasomikova rozentor lycoris-nya smlez upgrade220 coll4pse thegrandestnothing margarita-anisimova whatisloveam marinanem olyalog dima2014t goltisar nicole-shelling ycheems horkworse ba1derdash cockamamie nordman10 hialfiia s1lv3r-f0x ivanplebedev anastasiiamarkina dariak-d ilyadubovtsev lil-il andrlluuk annz7 alexmmind marie-frostova georgepatrin yuko377 volkova-kate mexbandoc lynch513 animolos veolenexe coffee-and-problems jaz7mutant serg-st qqqqqq452 heavypunk thegreatsuccess orangesmoothie igorkantimirov egor1712 dp433 mrronnegit-rules's Issues
У .sh скрипта меняются права на Ubuntu, что отображается в Changes not staged for commit
> ls -la
-rwxr-xr-x 1 kurganov kurganov 499 Oct 8 14:33 apply-gitconfig-for-nix.sh*
- Открываем проект в VS Code
> ls -la
-rw-r--r-- 1 kurganov kurganov 499 Oct 8 14:35 apply-gitconfig-for-nix.sh
У файла поменялись права, поэтому файл отобразится в Changes not staged for commit
> git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: apply-gitconfig-for-nix.sh
> git diff apply-gitconfig-for-nix.sh
diff --git a/apply-gitconfig-for-nix.sh b/apply-gitconfig-for-nix.sh
old mode 100755
new mode 100644
Файл будет постоянно отображаться в Changes not staged for commit, что может сбить с толку студентов, впервые изучающих git. Быстро проблему решает команда git config core.filemode false
:
Скорее всего, какой-то конфликт wsl2 и VS Code на винде
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.