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 3846544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:24:51+00:00 2026-05-19T16:24:51+00:00

To explain better: I have a netbeans project that uploads files to my remote

  • 0

To explain better:

I have a netbeans project that uploads files to my remote development server.

The project I’m working on was perfect for open source, so I created a new github repo. There were a lot of configuration files and other tidbits (like .htaccess files, etc.) that I did not want to include in the repo, so I just copied the files that I wanted into a new directory, created a git repo there, and I’ve been using that to push files to github.

Whenever I complete some new development in netbeans, I have to copy the new or edited files to the repo directory, commit the changes, and finally push to github.

I realize now that I can use a .gitignore file (git is new to me!). So I think it would be wise/faster to ignore the troublesome files and commit changes from the same directory I’m working in, thus eliminating the need to copy to the other directory. I assume that means I need to clone the repository into the directory I use for netbeans, but git tells me “that directory already exists.”

How do I go about accomplishing what I need?

  • 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-19T16:24:51+00:00Added an answer on May 19, 2026 at 4:24 pm

    i would think you could copy the .git directory into the root of the directory you use for netbeans.

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

Sidebar

Related Questions

Let me try to explain what I need. I have a server that is
I'll try to explain this better on another question. This is the query that
(Edited to try to explain better) We have an agent, written in C++ for
I'm having troubles releasing objects.. To explain it better I have included my code
Could anyone explain with some examples when it is better to call functions by
Could anybody explain in plain words how Cloud computing works? I have read the
So i have a wsdl that defines a message part like the following <wsdl:message
I have a question that is driving me crazy. It is all about updating,
I have a model Rails model called Orders that has a type_id, location, and
I'm working on a windows phone 7 project, with silverlight, and i'm trying to

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.