Stream

Join this community to post or comment
 
We have a repository with an error in a folder BoldScala

Developer@Delphi2007Win7x64VM MINGW64 /c/Attracs/Attracs-Online (master)
$ git ls-tree 289c173344e197ddbf677bc72298d1f7c8f00290
100644 blob 6b9f234c2d2eddf61a86a468ec7827642b115276 .gitignore
100644 blob 575685c96770f56e66aeacdc0c80a44930d16f85 .gitmodules
160000 commit 9b002c9e97d4b49bde81165ea5b4dec4961fe0ca BoldScala
040000 tree 06edf3b5a0bea23f9ca03fa6796bca980addbfc8 Build
040000 tree 0e969f858a713954e4da9f3ab19d5d8a8069b002 Components
040000 tree 8befc03643160917e171d689e941bebb8849ff95 DbViews
040000 tree ab4f4f930c63ba7971bfd4f884329ab1fb5aa058 IniFiles
100644 blob acdb706355de2c81a418a8613f58917242d0aa68 README.md
040000 tree 71329a47fe0dfafa5c292fc5afe251d9c26321e2 Utils
040000 tree e22d4f834b90f976b383f795049750c6a56185dc XmlSchemas
040000 tree f1b4036fc9fc10c360c8443538d0189b0c45ac28 client
040000 tree 568d17d4081987c8c4adbff91f9e720b4c164546 repository
040000 tree 123f22dae84b8ad129fc2a17e5e17da97de3b466 server
040000 tree 2966270401ccb2eae02c7a365f431afb6b5564b0 units

Developer@Delphi2007Win7x64VM MINGW64 /c/Attracs/Attracs-Online (master)
$ git ls-tree 9b002c9e97d4b49bde81165ea5b4dec4961fe0ca
fatal: not a tree object


How can this be fixed?
2
Roland Bengtsson's profile photoYuri Khan's profile photo
7 comments
 
That was a quotation of the relevant part of your git ls-tree output. You were not supposed to execute that as a shell command, if that’s what you tried.

My proposed solution for you is to (1) familiarize yourself with Git submodules; (2) define clearly what your problem with the BoldScala submodule really is; and (3) decide what you want to do with it.
Add a comment...
 
Hello there! I have a problem connecting with github.

I´m behind a corporate network and when I do a:
chrome://net-internals/#proxy
I get information about a PAC file.

Could somebody give me advice on how to overcome this problem ?
How could I tell git to use this file to connect to github ?
1
Juan Sebastian Cruz Torrico's profile photoFabio Massaioli's profile photo
3 comments
 
Great! :)
Add a comment...

Zhenwen Gan

Help Me  - 
 
how to revert code? work directory i can use reset, after commit i can use revert, but how to revert the push code?
2
Yuri Khan's profile photoCaleb Cushing's profile photo
7 comments
 
also if you are doing force, you should always use --force-with-lease instead. It ensure that when you push you know what's on the server.
Add a comment...

Git
owner

Stories (success or horror)  - 
 
The Git User's Survey 2016 is now up!

Please devote a few minutes of your time to fill out the simple questionnaire; it'll help the Git community understand your needs, what you like about Git (and what you don't), and overall help us improve it.

The survey would be open from 13 September till 20 October 2016

The results will be published to the Git Wiki on the GitSurvey2016 page, and discussed on the git mailing list.

#git #survey #GitSurvey #GitUsersSurvey #GitSurvey2016
12
7
Add a comment...

Brad Hughes

Help Me  - 
 
I could use some git help. i do command line when using git and ordinarily when I checkout a new branch I do

git checkout -B foo_branch

Which works just fine but after committing with

git commit -m 'change message here.' -a

when I try to push to origin

git push origin

I get the response that I have no upstream branch and asked to run:

git push --set-upstream origin foo_branch

is there a way in my branch create or commit that i can have the upstream branch already created so I don't have to do the extra step?

I have messed around with -u and --track but I can't seem to get the right syntax. Can I do what I want?

thanks in advance.

1
Brad Hughes's profile photo
4 comments
 
git push -u origin

Does what I wanted.

Add a comment...
 
Hi, all.

What is the difference between GitHub and GitHub Gist ?

I Wonder.

Thanks in advances~
1
Vyacheslav Anzhiganov's profile photoBeta Mind Gromit's profile photo
2 comments
 
Thanks~

I've installed Gist package for Sublime Text3 in my mac.
Add a comment...
6
Theo Debrouwere's profile photoWDTutorials.com (Web Design & Development Tutorials)'s profile photo
2 comments
 
Well it is a free video and I have to make a living :) But you are right, direct link would be more useful: https://www.youtube.com/watch?v=loRmkDIbnU4
Add a comment...

Reval Govender

Discussion  - 
 
 
Hey guys, I created a blog post to go along with my Git Flow video. Please bookmark it for your reference.

http://www.revgov.co.uk/blog/tutorial-what-is-git-flow
What is Git Flow. Git Flow is a set of guidelines developers can follow when using version control. It is often referred to as a “Branching Model” for not only Git, but for all methods of version control. Please remember, that Git Flow is not a set of rules that you have to follow.
1
pixel fairy's profile photoReval Govender's profile photo
2 comments
 
Unsure why it played at 1.25x speed by default. This was the first video I made and I did speak very slow anyway so it should not have hurt too much. I will look into this, thanks for letting me know. Have an awesome day!
Add a comment...

Arios Tew

Help Me  - 
 
I am trying so many solution for solve this problem. This scenario is, i have a hostgator hosting and i want to use git(Source tree) to clone my project down. Therefore, when i change those files, i can check back and after push it will update on the site.

http://www.arlocarreon.com/blog/git/push-git-repo-into-shared-hosting-account-like-hostgator/
How do I create a git repo on my shared hostgator?
I have try these method, add my machine RSA key into hosting. But my real problem is cant download it. Is that possible to clone it and when push it will update the website?


I get few error:

$ git clone --bare **@****.com:public_html/.git
Cloning into bare repository 'public_html.git'...
Connection closed by xxx.xxx.xxx.xxx
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


$ git clone ssh:// **@****:public_html/
Cloning into 'public_html'...
ssh: Could not resolve hostname **@****:public_html: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Does anyone solve before this question? Or is not possible to use it on sourcetree or github?
1
Martin Zeitler's profile photoBart Massey's profile photo
9 comments
 
http://github.com/BartMassey/mkgit is one possibility if you have ssh access to your HostGator. Configure it to keep your stuff wherever you have write access there, then "mkgit -Xmyhostgator". It's a work in progress: file an issue report if you find a problem, and I will try to fix it.
Add a comment...

Coding Defined

Discussion  - 
 
Frequently asked questions on Git
#git   #github  
9
4
Add a comment...
 
Can anyone suggest a good online resource for a web developer / sys admin who is new to git to learn the basics through to advanced
1
1
Scott Schmit's profile photoPiotr Solarczyk's profile photo
19 comments
Add a comment...

Created by

About this community

A place for user-to-user engagement of Git version control system.

Phillipe K. M.

Discussion  - 
 
 
"PAM Mastery" print proof arrived
10
1
Christopher Hanks (cjhanks)'s profile photoTheo Debrouwere's profile photo
8 comments
 
I agree with +Yuri Khan.
This stuff doesn't belong here.
Add a comment...
 
What key do you use for signing commits and tags?

gpg (GnuPG) 1.4.20; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
Your selection?

1
Marius Orcsik's profile photoManuel Torrinha's profile photo
4 comments
 
1
Add a comment...

Lars Moelleken

Discussion  - 
 
Writing good commit messages via commit-template:

- To speed up the reviewing process.
- To help us write a good release note.
- To help the future maintainers (it could be you!), say five years into the future, to find out why a particular change was made to the code or why a specific feature was added.

https://github.com/voku/dotfiles/wiki/git-commit-messages

25
8
Add a comment...
 
Rather than me ask far too many questions of someone. Does anyone have a bookmark to a detailed blog post of how web developers work with git from a web front end developer point of view - ie their workflow - where is their git server, how do they test changes they make - do they copy it to a dev server, then how do they deploy live and control that etc

1
Saeed Sarpas's profile photoNick Thorley's profile photo
4 comments
 
+Saeed Sarpas what would you like more specifics on? I just wanted the general management of a process for a web developer on a lamp stack. Open file from git, work on it, save / commit it and then copy it to the live server.
Add a comment...

Jordan Cohen

Stories (success or horror)  - 
 
Just tried to setup auto signing each commit. Got super stuck on auto entering the gpg passphrase and eventually gave up.

That was way way too hard to do.
1
Bruce Fields's profile photoJordan Cohen's profile photo
6 comments
 
Why wouldn't I? 
Add a comment...
 
I like the comparison of isolated codebases to the Galapagos ecosystem! 
GitHub is a wonderful resource for programmers looking to improve their skillset. Although we often struggle to find the time to commit to opensource, even by simply reviewing code we can improve ourselves.
17
4
Add a comment...

Jaden Weiss

Help Me  - 
 
I have been contributing to a project called Ravi, and just ran into a problem.

I first had forked it and added 32 bit number support and sent in a pull request. It might be a while before that is merged.

Then I created another branch to add ccache for travis-ci. I want to send in a pull request just for the travis changes, but that branch also has the commits for the 32-bit number support. The ccache branch will probably be merged before the 32-bit number branch.

What is the easiest way to resolve this?
1
Jaden Weiss's profile photoAvinash Ananth Narayan R's profile photo
6 comments
 
Rebase the ccache branch onto master

git checkout ccache
git rebase --onto master 32bit ccache

This is explained at https://git-scm.com/docs/git-rebase in detail. Just search for onto in page.
Add a comment...
 
 
#github  and #google  recently released the Github Archive dataset on #BigQuery . So it's possible to analyze tons of code repositories, and make interesting stats about them. For the fun, and to learn a little bit more about +Apache Groovy, I decided to run my own queries, to discover which packages or AST transforms were the most frequent, what's the size of Groovy scripts and classes, are aliased imports being used, etc. So here are my findings!
Github and Google recently announced and released the Github archive to BigQuery, liberating a huge dataset of source code in multiple programming languages, and making it easier to query it and disc...
7
1
Philip Durbin's profile photo
 
Nice. Listening to http://5by5.tv/changelog/209
Add a comment...