Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6729577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:18:24+00:00 2026-05-26T10:18:24+00:00

I have a bin/ folder with tons of Bash, Python scripts and some C

  • 0

I have a bin/ folder with tons of Bash, Python scripts and some C code.

In this folder, I did:

git init
git add file_name

I thought git add . would not be good because it would think that all the different scripts and programs were part of the same commit. The git status command just scrolls off the page. When I create a branch I don’t know what name to give it.

Is it better to make a folder for each individual project for code? Then run this in each folder?

git init
git add .

I think it would be easier to branch that way too. Is this useful/recommended? What are best practices

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:18:25+00:00Added an answer on May 26, 2026 at 10:18 am

    Yes I would strongly recommend using git for each directory / project.

    This will also be very helpful when you use github and move around machines as you’ll be able to manage the code for each project and do things like ‘git status’ just to see changes for that project.

    Imagine wanting to use the contents of one individual project on a new machine. If you have everything in one repository, you’ll have to get it all then select what you want. There’s probably smart ways around that but I always look for the most sensible KISS solution.

    I wouldn’t use git the way you describe. For that I would consider a more simple Dropbox or other basic cloud server storage style solution. Dropbox has security but if you need a more personalized secure solution you’ll looking at more private hosting, etc.

    So the answer to your question of:

    “Is it better to make a folder for each individual project for code? Then run this in each folder?

    git init
    git add .

    Is this useful/recommended?”

    Is Yes!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am processing some CSV file which i have copied in Bin folder of
Why cgi scripts have to stay in cgi-bin folder ? What is the difference
I have this Perl script sitting in the cgi-bin folder of my Apache server:
If I have a folder structure that looks like this: / /bin/myComponent.cfc /reports/index.cfm How
I have a DLL in the BIN folder, and I need it to be
say that i have a project which lies in a folder called 'bin', and
I think I'm going mad. Can anyone help? I have the folder c:\project\bin I
I have a Scripts folder, that includes all the .js files used in the
Visual studio by default copies all dlls' to each project's bin folder. This also
I have a web application which is importing DLLs from the bin folder. const

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.