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

  • Home
  • SEARCH
  • 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 6647323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:31:25+00:00 2026-05-26T00:31:25+00:00

I have a working repository setup at github.com I want to push an entire

  • 0

I have a working repository setup at github.com

I want to push an entire directory to the server (not the sub-directories). How can I do this with out selecting each file individually?

I am working with in a single folder…when I am complete I’m not sure which files I’ve modified…the directory is relatively small so I just want to simply commit and push everything in the quickest way possible.

How do I do this?

How do I commit and push all files in a directory?

  • 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-26T00:31:26+00:00Added an answer on May 26, 2026 at 12:31 am

    git commit -am "Commit message" will add all the files that have changed to the index, and then commit them. It won’t do anything with files that are not currently being tracked.

    Follow it up with git push <githubRepo> and it will push all those changes.

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

Sidebar

Related Questions

I have gitosis setup and working wonderfully using ssh. git@domain.com:repository.git works just as expected.
Say I have a git repository and I've been working on master, can I
I create a working repository in HG. And I have modified some files. How
I have a local repository I'm working on and its remote is hosted on
I'm working on a new project and I'm using the repository pattern, I have
I'm working on mac OS x 10.4 . I have a subversion repository stored
Backround: Suppose I have the following Git URLs (hosted on github) http://github.com/mikl/drupal.git git://github.com/mikl/drupal.git (Git
Currently my setup is this : External SVN repository --> local svn working copy,
I have a setup as follows. A private repository at bitbucket where I keep
I have setup a git server using gitosis and everything was going fine. I

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.